package com.huawei.esdk.tp.bean.terminal;

import com.huawei.esdk.platform.common.bean.commu.BaseJsonBean;

public class ResError extends BaseJsonBean
{
    private int id;

    private int code;

    private String[] params;

    public int getId()
    {
        return id;
    }

    public void setId(int id)
    {
        this.id = id;
    }

    public int getCode()
    {
        return code;
    }

    public void setCode(int code)
    {
        this.code = code;
    }

    public String[] getParams()
    {
        if (null != params)
        {
            return params.clone();
        }
        else
        {
            return new String[0];
        }
    }

    public void setParams(String[] params)
    {
        if (null != params)
        {
            this.params = params.clone();
        }
    }
}
